package day12_thread_code.com.itheima.d2_thread_api;

public class Demo2_Thread {
    public static void main(String[] args) throws InterruptedException {
        for (int i = 0; i < 5; i++) {
            System.out.println(i + "-");
            Thread.sleep(1000);

        }
    }
}
